enclosures ds.l 1 ; offset: $22 (34) ; files to be enclosed
drawImageProc ds.l 1 ; offset: $26 (38) ; For imaging
imageRefCon ds.l 1 ; offset: $2A (42) ; For imaging
supportsColor ds.b 1 ; offset: $2E (46) ; For imaging - set to true if you application supports color imaging
filler1 ds.b 1 ; offset: $2F (47)
sizeof EQU * ; size: $30 (48)
ENDR
; typedef struct SMPLetterPB * SMPLetterPBPtr
kSMPAppMustHandleEventBit EQU 0
kSMPAppShouldIgnoreEventBit EQU 1
kSMPContractedBit EQU 2
kSMPExpandedBit EQU 3
kSMPMailerBecomesTargetBit EQU 4
kSMPAppBecomesTargetBit EQU 5
kSMPCursorOverMailerBit EQU 6
kSMPCreateCopyWindowBit EQU 7
kSMPDisposeCopyWindowBit EQU 8
; Values of SMPMailerResult
kSMPAppMustHandleEventMask EQU $01
kSMPAppShouldIgnoreEventMask EQU $02
kSMPContractedMask EQU $04
kSMPExpandedMask EQU $08
kSMPMailerBecomesTargetMask EQU $10
kSMPAppBecomesTargetMask EQU $20
kSMPCursorOverMailerMask EQU $40
kSMPCreateCopyWindowMask EQU $80
kSMPDisposeCopyWindowMask EQU $0100
; typedef unsigned long SMPMailerResult
; Values of SMPMailerComponent
kSMPOther EQU -1
kSMPFrom EQU 32
kSMPTo EQU 20
kSMPRegarding EQU 22
kSMPSendDateTime EQU 29
kSMPAttachments EQU 26
kSMPAddressOMatic EQU 16
; typedef unsigned long SMPMailerComponent
kSMPToAddress EQU 13
kSMPCCAddress EQU 14
kSMPBCCAddress EQU 15
; typedef MailAttributeID SMPAddressType
kSMPUndoCommand EQU 0
kSMPCutCommand EQU 1
kSMPCopyCommand EQU 2
kSMPPasteCommand EQU 3
kSMPClearCommand EQU 4
kSMPSelectAllCommand EQU 5
; typedef unsigned short SMPEditCommand
kSMPUndoDisabled EQU 0
kSMPAppMayUndo EQU 1
kSMPMailerUndo EQU 2
; typedef unsigned short SMPUndoState
;
;SMPSendFormatMask:
;
;Bitfield indicating which combinations of formats are included in,
;should be included or, or can be included in a letter.
;
kSMPNativeBit EQU 0
kSMPImageBit EQU 1
kSMPStandardInterchangeBit EQU 2
; Values of SMPSendFormatMask
kSMPNativeMask EQU $01
kSMPImageMask EQU $02
kSMPStandardInterchangeMask EQU $04
; typedef unsigned long SMPSendFormatMask
;
; Pseudo-events passed to the clients filter proc for initialization and cleanup.
;
kSMPSendOptionsStart EQU -1
kSMPSendOptionsEnd EQU -2
;
;SMPSendFormatMask:
;
;Structure describing the format of a letter. If kSMPNativeMask bit is set, the whichNativeFormat field indicates which of the client-defined formats to use.
;
SMPSendFormat RECORD 0
whichFormats ds.l 1 ; offset: $0 (0)
whichNativeFormat ds.w 1 ; offset: $4 (4) ; 0 based